#include "MyNode.h"


MyNode::MyNode(void)
{
	containFile = NULL;
	parent = NULL;
}


MyNode::~MyNode(void)
{
	if(parent != NULL)
	{
		delete parent;
		parent = NULL;
	}
	if(containFile != NULL)
	{
		delete containFile;
		containFile = NULL;
	}
}

MyNode* MyNode::GetParent()
{
	return parent;
}

std::vector<MyNode*> MyNode::GetChildren()
{
	return childrenNodes;
}
